package com.by.bean;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@ApiModel("购物车商品信息")
@NoArgsConstructor
@AllArgsConstructor
public class Car implements Serializable {
    @ApiModelProperty("商品id")
    int id;
    @ApiModelProperty("商品名称")
    String name;
    @ApiModelProperty("商品价格")
    double price;
    @ApiModelProperty("商品数量")
    int num;
}
